package TTEST;

import java.util.Iterator;

import Files.File_;

public class ReadCommandsThread extends Thread{
	private boolean endwork=false;
	public void setEndWork(){
		endwork=true;
	}
	public ReadCommandsThread(){}
	public void run(){

		while(!endwork)
		try{
			Thread.sleep(2000);
			File_.onlyReadFile(0);
			File_.onlyReadFile(1);
			//for (LabWindow aa:InternalFrameDemo.getAllConnections()) {
			//	aa.cc();
			//}
		}
		catch(Exception e){}
	}
}
